<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript">
		$.ajax({url:"TestServlet",
				success:function(result){
	      			$("#aaa").text(result);
	    }});
	
	</script>
</head>
<body>
	<div id="aaa"></div>
</body>
</html>